package com.starbaba.loanorder.service;

import java.util.List;
import java.util.Map;

import com.starbaba.core.web.page.PageResponse;
import com.starbaba.loanorder.model.LoanOrderModel;
import com.starbaba.loanorder.model.LoanOrderRequestModel;

@SuppressWarnings("rawtypes")
public interface LoanOrderService {

	/**
	 * 查询订单列表
	 * 
	 * @param iDisplayStart
	 * @param iDisplayLength
	 * @param pageResponse
	 * @param paramsMap
	 * @return
	 */
	public List<LoanOrderModel> getDataList(int iDisplayStart, int iDisplayLength, PageResponse pageResponse, Map<String, Object> paramsMap);

	/**
	 * 导出API订单列表
	 * 
	 * @param list
	 * @return
	 */
	public String exportLoanOrderList(List<LoanOrderModel> list);

	/**
	 * 查询订单请求数据
	 * 
	 * @param iDisplayStart
	 * @param iDisplayLength
	 * @param pageResponse
	 * @param paramsMap
	 * @return
	 */
	public List<LoanOrderRequestModel> getRequestList(int iDisplayStart, int iDisplayLength, PageResponse pageResponse, Map<String, Object> paramsMap);

	/**
	 * API订单统计
	 * 
	 * @param iDisplayStart
	 * @param iDisplayLength
	 * @param pageResponse
	 * @param paramsMap
	 * @return
	 */
	public List<LoanOrderModel> getStatDataList(int iDisplayStart, int iDisplayLength, PageResponse pageResponse, Map<String, Object> paramsMap);

	/**
	 * 导出API统计数据
	 * 
	 * @param list
	 * @return
	 */
	public String exportStatLoanOrderList(List<LoanOrderModel> list);
}
